<include file="Public:user_head" />
	<main>
		
<div class="am-btn-group am-btn-group-justify">
    <a href="{:U('user/teamorder',array('fuid'=>1))}" class="am-btn am-btn-default" <if condition="$fuid eq 1">disabled="disabled"</if> role="button">直属成员</a>
    <a href="{:U('user/teamorder',array('guid'=>1))}" <if condition="$guid eq 1">disabled="disabled"</if> class="am-btn am-btn-default" role="button">直属成员下级</a>
</div>
		<!--list-->
		<div class="wallet">
		
		<if condition="$list">
			
			<ul>
				<volist name="list" id="vo">
					<li>
						<div class="am-cf">
							<if condition="$vo['price']">
								<p class="am-fl"><em>付款金额</em><span class="c-main">￥{$vo.price}</span></p>
							</if>
							<p class="am-fr"><em>状态</em><span class="c-primary">{$vo.status}</span></p>
						</div>
						<div class="am-cf">
							<p class="am-fl"><em>付款时间</em>{$vo.add_time|frienddate}</p>
						</div>
						<p><em>订单编号</em>{$vo.orderid}</p>
						
						<if condition="$guid">
							<p><em>预计返</em>￥{:Orebate3(array('price'=>$vo['income'],'leve'=>$vo['leve3']))}</p>
							
						<else/>
							<p><em>预计返</em>￥{:Orebate2(array('price'=>$vo['income'],'leve'=>$vo['leve2']))}</p>
						</if>
							
							
						<if condition="$vo['up_time']">
							<p><em>更新时间</em>{$vo.up_time|frienddate}</p>
						</if>
					</li>
				</volist>	
			</ul>
			<div class="page">
				<if condition="$total_item gt 6">
					{$page}
				</if>
			</div>
			
			<else/>
			<div class="no-order">
				<i class="iconfont tqk-icondd1"></i>
				<p>没有相关订单数据！</p>
			</div>
		</if>
			
		</div>
	</main>
<include file="Public:foot" />
</body></html>
